<%--
  Created by IntelliJ IDEA.
  User: acer
  Date: 2020/11/25
  Time: 22:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"  %>
<%@ page isThreadSafe="false" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
    <style>
        .table_store {
            margin: 0 auto;
        }

        .table_store .content {
            background-color: #a58888;
        }

        .table_store .title {
            background-color: #000000;
            color: white;
            padding: 10px 0px;
            font-size: 26px;
        }

        .table_store .tips {
            background-color: #be4e4e;
            font-size: 20px;
        }

        .table_store thead th {
            text-align: center;
        }

        .table_store tr {
            text-align: center;
        }

        .table_store tr td {
            border-bottom: 1px solid yellow;
            padding: 10px 20px;
        }

        .table_store tr td a {
            text-decoration: none;
        }
        .css_add{
            background-color: #1b1919;
            color: wheat;
            font-size: 20px;
            padding: 10px 30px;
            box-shadow: inset -3px -3px 11px 0px;
        }
        #serch_name{
            width: 250px;
            height: 36px;
        }
        .search_btn{
            padding: 6px 20px;
            background-color: black;
            color: white;
            font-size: 16px;
        }
        #search_time{
            width: 165px;
            height: 35px;
            font-size: 16px;
        }
    </style>
</head>
<body>
<h1>欢迎<%=request.getParameter("username")%>登录</h1>
<table class="table_store">
    <tr>
        <th colspan="7" class="title">书籍管理系统</th>
    </tr>
    <tr><td><a href="addbook" class="css_add">添加</a></td><td colspan="2">
        <input type="text" id="serch_name" name="serch_name">
        <input type="button" value="搜搜" class="search_btn"></td>
    <td class="date_packer">
        <label style="font-size: 20px">时间搜索：</label><input name="search_time" type="date" id="search_time">
    </td>
        <td class="date_packer">
            <label style="font-size: 20px">图书分类：</label>
            <select name="search_time" id="search_type" style="width: 100px;height: 35px;font-size: 16px">
                <option value="1">科幻</option>
                <option value="1">人文</option>
                <option value="1">历史</option>
                <option value="1">金融</option>
            </select>
        </td>
    </tr>
    <tr class="tips">
        <td>编号</td>
        <td>书名</td>
        <td>作者</td>
        <td>书库地址</td>
        <td>出版社</td>
        <td>出版日期</td>
        <td>操作</td>
    </tr>
    <tr class="content">
        <td>0000001</td>
        <td>白鹿原</td>
        <td>贾平凹</td>
        <td>三楼西侧</td>
        <td>西安文理出版社</td>
        <td>2020-12-12</td>
        <td><a href="#">修改</a>｜<a href="#">删除</a></td>
    </tr>
    <tr class="content">
        <td>0000002</td>
        <td>我的每一天</td>
        <td>张二蛋</td>
        <td>三楼西侧201</td>
        <td>西安文理出版社</td>
        <td>2020-12-11</td>
        <td><a href="#">修改</a>｜<a href="#">删除</a></td>
    </tr>
</table>
<c:forEach items="3" var="map">
    <h1>${obj}</h1>
</c:forEach>
<table class="table_store">
    <tr>
        <th colspan="7" class="title">书籍管理系统</th>
    </tr>
    <tr class="tips">
        <td>编号</td>
        <td>书名</td>
        <td>操作</td>
    </tr>
    <c:forEach items="${map}" var="map">
        <tr class="content">
            <td>${map.key}</td>
            <td>${map.value}</td>
            <td><a href="#">修改</a>｜<a href="#">删除</a></td>
        </tr>
    </c:forEach>
</table>

</body>
</html>
